import { IsNotEmpty, IsString, MaxLength } from 'class-validator';

export class UpdateRoleDto {

  @MaxLength(100)
  @IsString()
  @IsNotEmpty()
  roleName: string;

  @MaxLength(512)
  @IsString()
  description: string = '';
}